/*
 * MidiController.h
 *
 *  Created on: 18/lug/2011
 *      Author: marcolembo
 */

#ifndef MIDICONTROLLER_H_
#define MIDICONTROLLER_H_


#include "MidiControl.h"
#include "StackArray.h"

using namespace std;

namespace ml
{

    class MidiController
    {
        protected:
            //ogni controller "ha" almeno un controllo (pulsante, potenziometro, ecc...)
            StackArray<MidiControl> m_controls;

        public:
            MidiController();

            void AddControl(MidiControl _control);

            virtual void SendMidiEvents() = 0;

            virtual
            ~MidiController();
    };

}

#endif /* MIDICONTROLLER_H_ */
